// 诊断列表
import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request
export default {
	// 获取帖子分类
	queryPostVariety(params){
		let url = 'socialized-expert/invitationType/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 获取帖子-分页查询-诊断列表
	queryPageDiagnostic(params) {
		let url = 'socialized-expert/invitation/queryExpertPageByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 我的诊断分页查询
	queryPageMyDiagnostic() {
		let url = 'socialized-expert/invitation/queryExpertMyPageByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 新回复
	queryNewReply(params){
		let url = 'socialized-expert/invitation/queryByNoReplyFromTheExpert'
		return api.request(url,'post',{
			...params
		})
	},
	// 查询帖子
	queryQualifiedPost(params) {
		let url = 'socialized-expert/invitation/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	},

}